<?php


class app_user extends app
{

	public function __construct()
	{
		parent::__construct( 'user', '用户管理', 'apps/user/images/user.gif' );
	}

	protected function set_links()
	{
		$this->add_link( '登陆页面', './?action=user.access.login' );
		$this->add_link( '注册页面', './?action=user.access.register' );
		$this->add_link( '找回密码页面', './?action=user.access.forget_password' );
	}
	
    protected function set_menus()
	{
		$this->add_menu('用户列表', './?action=user.manager.listing', 'apps/user/images/listing.gif' );
        $this->add_menu('添加新用户', './?action=user.manager.edit', 'apps/user/images/new.gif' );
        $this->add_menu('后台登陆日志', './?action=user.admin_log.listing', 'apps/user/images/admin_log.gif' );
	}
	

}
